# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

heatshield: heatshield.c
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $<

$(DESTDIR)/usr/sbin/heatshield: heatshield
	install --mode 555 -D -T $< $@

all: heatshield

install: $(DESTDIR)/usr/sbin/heatshield

clean:
	rm -f heatshield

.PHONY:	all install clean
